package com.example.databasepj.dto;

public class DishData {
    //"dish_ID": 1,
    //        "dish_name": "卤肉饭",
    //        "price": 23,
    //        "quantity": 2
    private int dish_ID;
    private String dish_name;
    private float price;
    private int quantity;

    public DishData(int dish_ID, String dish_name, float price, int quantity) {
        this.dish_ID = dish_ID;
        this.dish_name = dish_name;
        this.price = price;
        this.quantity = quantity;
    }

    public int getDish_ID() {
        return dish_ID;
    }

    public void setDish_ID(int dish_ID) {
        this.dish_ID = dish_ID;
    }

    public String getDish_name() {
        return dish_name;
    }

    public void setDish_name(String dish_name) {
        this.dish_name = dish_name;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }
}
